<?PHP header('Content-type:text/xml;'); ?>
<?PHP echo "<"; ?>?xml version="1.0" ?><connect><?PHP
  if(@mysql_connect($_GET['host'],$_GET['user'],$_GET['password'])){
    if(@mysql_select_db($_GET['db'])){
      echo 1;
    }
    else{
      echo 0;
    }
  }
  else{
    echo 0;
  }
?></connect>